package com.teaRestaurant.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("employee")
public class Employee {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String name;
    private String phone;
    private Integer sex;
    private Integer status;
    private String password;
}
